package com.tanhua.manage.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum Distribution implements IEnum<Integer> {
    SH(1,"上海"),
    HEB(2,"河北"),
    SHX(3,"山西"),
    NMG(4,"内蒙古"),
    LN(5,"辽宁"),
    JL(6,"吉林"),
    HLJ(7,"黑龙江"),
    JS(8,"江苏"),
    ZJ(9,"浙江"),
    AH(10,"安徽"),
    FJ(11,"福建"),
    JX(12,"江西"),
    SD(13,"山东"),
    HEN(14,"河南"),
    HUB(15,"湖北"),
    HUN(16,"湖南"),
    GD(17,"广东"),
    GX(18,"广西"),
    HAN(19,"海南"),
    SC(20,"四川"),
    GZ(21,"贵州"),
    YN(22,"云南"),
    XZ(23,"西藏"),
    SX(24,"陕西"),
    GS(25,"甘肃"),
    QH(26,"青海"),
    NX(27,"宁夏"),
    XJ(28,"新疆"),
    BJ(29,"北京"),
    TJ(30,"天津"),
    CQ(31,"重庆"),
    XG(32,"香港"),
    AM(33,"澳门");

    private int value;
    private String desc;

    Distribution(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}
